package com.navi.loaddata.core.gpEntity;

import com.navi.loaddata.core.gpEntity.array.WppAdefectPanelF;
import com.navi.loaddata.core.gpEntity.cf.WppFdefectPanelF;
import com.navi.loaddata.core.gpEntity.oc.WppCdefectPanelF;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by xufan on 2018/3/29.
 */

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface GpChipFMapper {

    GpChipFMapper INSTANCE = Mappers.getMapper(GpChipFMapper.class);

    GpChipF arrayToEtlChip(WppAdefectPanelF array);
    List<GpChipF> arrayToEtlChip(List<WppAdefectPanelF> list);


    GpChipF cfToEtlChip(WppFdefectPanelF cf);
    List<GpChipF> cfToEtlChip(List<WppFdefectPanelF> list);

    GpChipF cellToEtlChip(WppCdefectPanelF cell);
    List<GpChipF> cellToEtlChip(List<WppCdefectPanelF> list);

}
